package com.chenyue.cm.match.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author Lbx
 * @since 2021-10-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ViewMatchScoreRecord对象", description = "VIEW")
public class ViewMatchScoreRecord extends Model<ViewMatchScoreRecord> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "赛程id")
    private Integer formatId;

    @ApiModelProperty(value = "团队id")
    private Integer groupId;

    @ApiModelProperty(value = "项目id")
    private Integer itemId;

    private String itemName;

    @ApiModelProperty(value = "分数")
    private Integer score;

    @ApiModelProperty(value = "打分时间")
    @TableField(fill = FieldFill.INSERT)
    private Date ct;

    @ApiModelProperty(value = "裁判id")
    private Integer judgeId;

    @ApiModelProperty(value = "队伍名称")
    private String groupName;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "参赛类型（1单人单项/2单人多项/3多人多项）")
    private Integer matchType;

    @ApiModelProperty(value = "参赛范围（1单人/2团体）")
    private Integer matchGroup;

    @ApiModelProperty(value = "赛事分类")
    private Integer type;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "进行顺序")
    private Integer arrangeOrder;

    @ApiModelProperty(value = "创建机构")
    private Integer cu;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
